package com.jc.oms.controller.logisticscompany;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.jc.business.logisticscompany.LogisticsCompanyBusiness;
import com.jc.oms.controller.BaseController;

@Controller
@RequestMapping("logisticscompany")
public class LogisticsCompanyController extends BaseController {
	
	@Autowired
	LogisticsCompanyBusiness logisticsCompanyBusiness;
	
	
	@RequestMapping(value="sync" , method = RequestMethod.GET)
	public @ResponseBody Map<String,Object> syncLogisticsCompany(HttpServletRequest request){
		
		try {
			logisticsCompanyBusiness.getH5ChannelLogisticsCompanyList();
		}catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}
	

}
